home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / wb / DosMan121.lha / man / Wait < prev    next >
Text File  |  1995-04-04  |  2KB  |  66 lines

  1.  
  2.  
  3.  
  4.      Wait (V1.3, 2.x, 3.x in C:)
  5.  
  6.  
  7.      NAME
  8.           Wait - Delay a specified amount of time.
  9.  
  10.      SYNOPSIS
  11.           WAIT n [SEC=SECS] [MIN=MINS] [UNTIL time]
  12.  
  13.      DESCRIPTION
  14.             Wait will delay a specified number of seconds or 
  15.         minutes, or until the specified time is reached.  This is 
  16.         most often used in EXECUTE batch files for a delay. By 
  17.         default, all units are in seconds. If no delay is 
  18.         specified, the default delay is 1 second. Sending a break 
  19.         to the WAIT command will cause WAIT to conclude.
  20.  
  21.      OPTIONS
  22.           n
  23.                The amount of time, in minutes or seconds that the
  24.                system will wait. If a time isn't specified then
  25.                it defaults to 1 second.
  26.  
  27.           SEC=SECS
  28.                The number entered is the number of seconds (this is
  29.                the default) to wait.
  30.  
  31.           MIN=MINS
  32.                The number entered is the number of minutes to wait.
  33.  
  34.           UNTIL
  35.                The string entered is a valid time.  Wait will delay
  36.                until this time is reached.
  37.  
  38.           You may only specify one of UNTIL, MINS, or SECS for WAIT.
  39.  
  40.      EXAMPLE
  41.        1. To WAIT one second:
  42.  
  43.           WAIT
  44.  
  45.        2. To wait ten seconds:
  46.  
  47.           WAIT 10 secs
  48.  
  49.        3. To wait until 3:00:
  50.  
  51.           WAIT UNTIL 3:00
  52.  
  53.        4. To wait for three minutes:
  54.  
  55.           WAIT 3 min
  56.  
  57.        or
  58.  
  59.           WAIT 180
  60.  
  61.        5. To set up a background process that waits until 3:00 and then
  62.           delete all the files in a directory named 'Garbage':
  63.  
  64.           RUN WAIT UNTIL 3:00
  65.           DELETE Garbage/#?
  66.